#ifndef GROUP_H
#define GROUP_H

#include <QObject>
#include "Models/model.h"
#include "Models/friend.h"

class Group : public Model
{
public:
    explicit Group();
    explicit Group(QString _groupName, QString _icon, QString _name);

private:
    QString _groupName;
    QString _icon;
    QString _name;
    QList<Friend> _friends;

public:
    void groupName(QString _groupName);
    QString groupName();

    void icon(QString _icon);
    QString icon();

    void name(QString _name);
    QString name();

    void friends(QList<Friend> _friends);
    QList<Friend> friends();
};
Q_DECLARE_METATYPE(Group)
Q_DECLARE_METATYPE(Group*)
#endif // GROUP_H
